{% extends "horizon/common/_modal_form.html" %}


{% load i18n %}

{% block form_id %}edit_tags_form{% endblock %}
{% block form_action %}{% url 'horizon:project:data_processing.clusters:edit_tags' image.id %}{% endblock %}

{% block modal-header %}{% trans "Edit Image Tags" %}{% endblock %}

{% block modal-body %}


    <div class="left">
        <fieldset>
            {% include "horizon/common/_form_fields.html" %}
        </fieldset>
        {% include 'image_registry/_tag_form.html' %}
    </div>
    <div class="right">
        {% include 'image_registry/_help.html' %}
    </div>
{% endblock %}

{% block modal-footer %}
    <a href="{% url 'horizon:project:data_processing.clusters:index' %}"
       class="btn btn-default cancel">{% trans "Cancel" %}</a>
   <input class="btn btn-primary pull-right" id="edit_image_tags_btn" type="submit" value="{% trans "Done" %}"/>
{% endblock %}
